@keyframes fade-in {  
    0% {opacity: 0;}/*初始状态 透明度为0*/  
    40% {opacity: 0;}/*过渡状态 透明度为0*/  
    100% {opacity: 1;}/*结束状态 透明度为1*/  
}  
@-webkit-keyframes fade-in {/*针对webkit内核*/  
    0% {opacity: 0;}  
    40% {opacity: 0;}  
    100% {opacity: 1;}  
}  

@keyframes fade-out {  
    0% {opacity: 1;}/*初始状态 透明度为0*/  
    40% {opacity: 0;}/*过渡状态 透明度为0*/  
    100% {opacity: 1;}/*结束状态 透明度为1*/  
}  
@-webkit-keyframes fade-out {/*针对webkit内核*/  
    0% {opacity: 1;}  
    40% {opacity: 0;}  
    100% {opacity: 1;}  
} 
/*dialog*/
.fast-modal-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition:opacity .15s linear;
    animation: fade-in;/*动画名称*/  
    -webkit-animation:fade-in 300ms;/*针对webkit内核*/  
}


.fast-modal {
    background-color: #fff;
    border:1px solid rgba(0,0,0,.2);
    border-top:none;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 0.3rem;
}

.fast-modal-title{
    background-color: #6B84A2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:0.5;
    border-bottom:1px solid #e9ecef;
    height: 43px;
}

.fast-modal-title-lable{
    margin-bottom:0;
    line-height:0;
    padding-left: 1rem;
    font-size:1rem;
    color: #fff;
    line-height: 43px;
    font-family:Microsoft YaHei;
    font-size: 15px;
    font-weight: bold
}

.fast-modal-iframe{
    width: 100%;
    margin: 0;
    border: none;
    vertical-align: bottom
}

.close{
    cursor: pointer;
    margin: -1rem -1rem -1rem auto;
    margin:1rem;
    background-color:transparent;
    border:0;
    float: right;
    font-size:1.5rem;
    font-weight:700;
    line-height:0.3;
    color:#fff;
    text-shadow:0 1px 0 #fff;
    opacity:.5;
    -webkit-appearance:none

}

/*alert*/
.fast-modal-alert-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 12;
    transition:opacity .15s linear;
    animation: fade-in;/*动画名称*/  
    -webkit-animation:fade-in 300ms;/*针对webkit内核*/  

}

.fast-modal-alert{
    background-color: #fff;
    border:1px solid rgba(0,0,0,.2);
    border-top:none;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 0.3rem;
    width:502px;
    height: 180px;
    margin-top: 100px;
}

.fast-modal-alert-content{
    height: 80px;
    border-bottom: 1px solid rgba(0,0,0,.2);
}

.fast-modal-alert-content-label{
    padding-left: 20px;
    line-height:4;
}

.fast-modal-alert-footer{
    line-height:1;

}

.fast-modal-btn{
    float: right;
    margin: 10px;
    padding: 6px 12px;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.fast-modal-title-success{
    background-color: #3FAB09;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:0.5;
    border-bottom:1px solid #e9ecef
}

.fast-modal-title-waring{
    background-color: #DC8B11;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:0.5;
    border-bottom:1px solid #e9ecef
}

.fast-modal-title-fail{
    background-color:#F15959;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:0.5;
    border-bottom:1px solid #e9ecef
}
